import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
import ProjectList from '@/views/Project/ProjectList.vue'

const routes: Array<RouteRecordRaw> = [

    {
        path: '/',
        name: 'ProjectList',
        component: ProjectList,
    },

]

const router = createRouter({
    history: createWebHashHistory(), // 最好使用WebHashHistory方式；如果使用WebHistory会非常麻烦，不建议使用这种方式
    routes
})

export default router
